/*    */package nc.ui.med.pub.print;

import nc.itf.scm.pub.print.IPrintTools;

/**
 * business service ejb wrapper Created by EJBGenerator based on velocity
 * technology
 */
public class PrintToolsHelper {
	private static String beanName = IPrintTools.class.getName();

	public static void delOldDefaulatPrintTemplates(
			nc.vo.scm.pub.print.PrintItemVO[] arg0) throws Exception {
		IPrintTools bo = (IPrintTools) nc.bs.framework.common.NCLocator
				.getInstance().lookup(beanName);
		bo.delOldDefaulatPrintTemplates(arg0);
	}

	public static void generateAllData(nc.vo.scm.pub.print.PrintItemVO[] arg0)
			throws Exception {
		IPrintTools bo = (IPrintTools) nc.bs.framework.common.NCLocator
				.getInstance().lookup(beanName);
		bo.generateAllData(arg0);
	}

	public static void generateAllDataDlg(nc.vo.scm.pub.print.PrintVO arg0)
			throws Exception {
		IPrintTools bo = (IPrintTools) nc.bs.framework.common.NCLocator
				.getInstance().lookup(beanName);
		bo.generateAllDataDlg(arg0);
	}

	public static nc.vo.scm.pub.print.PrintItemVO[] getPrintItems(
			java.lang.String arg0, java.lang.String arg1) throws Exception {
		IPrintTools bo = (IPrintTools) nc.bs.framework.common.NCLocator
				.getInstance().lookup(beanName);
		nc.vo.scm.pub.print.PrintItemVO[] o = null;
		o = bo.getPrintItems(arg0, arg1);
		return o;
	}

	public static java.lang.String getPrintTemplateDef(java.lang.String arg0)
			throws Exception {
		IPrintTools bo = (IPrintTools) nc.bs.framework.common.NCLocator
				.getInstance().lookup(beanName);
		java.lang.String o = null;
		o = bo.getPrintTemplateDef(arg0);
		return o;
	}
}